package com.sanploy.file.vo;

import com.sanploy.file.enums.FileType;

/**
 * Created by zhu yingzhi on 2017/9/13.
 */
public class FileVo {
    private FileType type;
    private String originName;
    private String savePath;
    private String newName;

    public FileVo(FileType type, String originName, String savePath,String newName) {
        this.type = type;
        this.originName = originName;
        this.savePath = savePath;
        this.newName = newName;
    }

    public FileVo(FileType type, String originName, String savePath) {
        this.type = type;
        this.originName = originName;
        this.savePath = savePath;
    }

    public FileType getType() {
        return type;
    }

    public void setType(FileType type) {
        this.type = type;
    }

    public String getOriginName() {
        return originName;
    }

    public void setOriginName(String originName) {
        this.originName = originName;
    }

    public String getSavePath() {
        return savePath;
    }

    public void setSavePath(String savePath) {
        this.savePath = savePath;
    }

    public String getNewName() {
        return newName;
    }

    public void setNewName(String newName) {
        this.newName = newName;
    }
}
